package com.blq.test;

import com.blq.Xwutil.WxpayConfig;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author Administrator
 * @title testController
 * @date 2022/12/28 14:37
 * @description TODO
 */
@Slf4j
public class testController {
    @Autowired
    private WxpayConfig wxpayConfig;

    @Test
    public void test() throws Exception {
        WxpayConfig wxpayConfig = new WxpayConfig();
        String apiV3Key = wxpayConfig.getApiV3Key();
        log.info(apiV3Key);
        String domain = wxpayConfig.getDomain();
        log.info(domain);
        String mchId = wxpayConfig.getMchId();
        log.info(mchId);
        String mchSerialNo = wxpayConfig.getMchSerialNo();
        log.info(mchSerialNo);
        String notifyDomain = wxpayConfig.getNotifyDomain();
        log.info(notifyDomain);
        String privateKeyPath = wxpayConfig.getPrivateKeyPath();
        log.info(privateKeyPath);

    }
}
